<template>
	<view>
		<block v-for="(item,index) in takeshop" :key="index">
			<view class="content_view" @click="takeout(item.openid)">
				<view class="content_img">
					<image :src="item.logo" mode="aspectFill"></image>
				</view>
				<view class="content_title">
					<text class="content_take">{{item.shop}}</text>
					<view class="content_month">
						<text>月售200</text>
						<text>约{{item.duration}}分钟</text>
					</view>
					<view class="content_start">
						<text>起送￥{{item.delivering}}</text>
						<text>配送￥{{item.physical}}</text>
						<text>人均￥{{item.capita}}</text>
					</view>
					<view class="content_start">
						<image src="../../../static/coen/rili.png" mode="aspectFill"></image>
						<text>{{item.types}}</text>
					</view>
				</view>
			</view>
		</block>
	</view>
</template>

<script>
	export default{
		
		// props:{
		// 	takeshop:Array
		// },
		
		data(){
			return{
				//takeshop 下面的数据就可以删除了
				takeshop:[
					{
						'logo':'../../../static/pre/paigu.jpeg',
						'shop':'肯德基',
						'duration':20,
						'delivering':13,
						'physical':5,
						'capita':20,
						'types':'江浙菜'
					},
					{
						'logo':'../../../static/pre/niupai.jpg',
						'shop':'牛排',
						'duration':10,
						'delivering':5,
						'physical':2,
						'capita':30,
						'types':'江浙菜'
					},
					{
						'logo':'../../../static/pre/shaokao.jpg',
						'shop':'烧烤',
						'duration':5,
						'delivering':10,
						'physical':3,
						'capita':10,
						'types':'江浙菜'
					}
				]
			}
		},
		methods:{
			takeout(){
				
			}
		}
	}
</script>

<style scoped>
	@import '../../../common/com_list.css'
</style>

